home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FM Towns: Free Software Collection 11
/
FM Towns Free Software Collection 11.iso
/
t_os
/
shell
/
tokei4
/
src
/
aboutgui.c
next >
Wrap
C/C++ Source or Header
|
1995-04-04
|
3KB
|
119 lines
#include <stdio.h>
#include <stdlib.h>
#include <winb.h>
#include <te.h>
#include <fntb.h>
#include <gui.h>
extern int aboutDialogID ;
extern int aboutMessageID[4] ;
extern int aboutDButtonID ;
extern int aboutQuitFunc() ;
#define ALIGN 4
#define OFFSET(type) (sizeof(MMIPACKET) + (sizeof(type)+ALIGN-1)/ALIGN*ALIGN)
/* MMI_init 用データ */
/* ヘッダ */
MMIINIT initDataABOUTGUI = { "MmiInit", 6, 0 } ;
/* aboutDialogID */
static MMIPACKET d001 = { &aboutDialogID,
NULL,
&MJ_DIALOGL40,
OFFSET(DIALOGL40),
MS_NONE
} ;
static DIALOGL40 d001d = { MS_BTLEFTL40 | MS_EVMOSONL40,
212, 172, 429, 301, 8, 1, 8,
MS_PANELL40 | MS_FRAMEL40,
NULL, 0, 0
} ;
/* aboutMessageID[0] */
static MMIPACKET d002 = { &aboutMessageID[0],
&aboutDialogID,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d002d = { MS_CENTERL40 | MS_DSPONLYL40,
289, 185, 352, 204, 8,15,13,
MS_NONEL40,
"時計ー",
0, 16, 16,
MS_BOLDL40 | MS_OUTLINEL40,
0, 0
} ;
/* aboutMessageID[1] */
static MMIPACKET d003 = { &aboutMessageID[1],
&aboutDialogID,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d003d = { MS_CENTERL40 | MS_DSPONLYL40,
241, 215, 400, 234, 8,15,15,
MS_NONEL40,
"Programmed by 機拡 1995.4",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* aboutMessageID[2] */
static MMIPACKET d004 = { &aboutMessageID[2],
&aboutDialogID,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d004d = { MS_CENTERL40 | MS_DSPONLYL40,
248, 241, 393, 260, 8, 7,15,
MS_OPAQUEL40,
"b",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* aboutDButtonID */
static MMIPACKET d005 = { &aboutDButtonID,
&aboutDialogID,
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d005d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
352, 268, 415, 291, 5, 1, 8,
MS_PANELL40 | MS_FRAMEL40,
aboutQuitFunc,
0x8012
} ;
/* aboutMessageID[3] */
static MMIPACKET d006 = { &aboutMessageID[3],
&aboutDialogID,
&MJ_MSGL40,
0,
MS_NONE
} ;
static MSGL40 d006d = { MS_CENTERL40 | MS_DSPONLYL40,
368, 271, 399, 288, 8,15,15,
MS_NONEL40,
"了 解",
1, 12, 12,
MS_NONEL40,
0, 0
} ;